package com.heatingcharge.service.unit;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.heatingcharge.dto.HeatSourcePlantDTO;
import com.heatingcharge.entity.unit.HeatSourcePlant;
import com.heatingcharge.param.HeatSourcePlantParam;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 热源  服务类
 * </p>
 *
 * @author devin.jiang
 * @since 2019-07-12
 */
public interface IHeatSourcePlantService extends IService<HeatSourcePlant> {
    IPage<HeatSourcePlant> selectHeatSourcePlantPage(Page heatSourcePlantPage,HeatSourcePlantDTO heatSourcePlantDTO);
    List<HeatSourcePlant> selectAllHeatSourcePlant(HeatSourcePlantDTO heatSourcePlantDTO);

    boolean save(HeatSourcePlantParam heatSourcePlantParam);

    boolean update(HeatSourcePlantParam heatSourcePlantParam);

    @Override
    boolean removeById(Serializable id);
}
